package com.youhome.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by chen365 on 2018/05/26.
 */
@Component
@ConfigurationProperties(prefix = "request-limit")
@Data
public class RequestLimit {

    private Long limitTime;

    private Long limitCount;
}
